Global Index
HTML5 JS API Index > DOM Tutorials & Specs

HTMLMenuItemElement

Extends HTMLElement.

The menuitem element represents a command that the user can invoke from a popup menu (either a context menu or the menu of a menu button).

Properties
boolean
checked
The label, icon, disabled, checked, and radiogroup, and default IDL attributes must reflect the respective content attributes of the same name.
HTMLElement?
command
The command IDL attribute must return the master command, if any, or null otherwise.
boolean
default
The label, icon, disabled, checked, and radiogroup, and default IDL attributes must reflect the respective content attributes of the same name.
boolean
disabled
The label, icon, disabled, checked, and radiogroup, and default IDL attributes must reflect the respective content attributes of the same name.
DOMString
icon
The label, icon, disabled, checked, and radiogroup, and default IDL attributes must reflect the respective content attributes of the same name.
DOMString
label
The label, icon, disabled, checked, and radiogroup, and default IDL attributes must reflect the respective content attributes of the same name.
DOMString
radiogroup
The label, icon, disabled, checked, and radiogroup, and default IDL attributes must reflect the respective content attributes of the same name.
DOMString
type
The type IDL attribute must reflect the content attribute of the same name, limited to only known values.